.label {
    display: flex;
    align-items: center;
    background-color: #fff;
    border: 1px solid #d5d3cb;
    padding: var(--space-xs) var(--space-m);
    font-weight: bold;
    cursor: pointer;
    transition: color var(--transition-medium) ease-in;

    &.checked {
        background-color: var(--main-bg-dark);
    }
}

.name {
    flex-grow: 1;
}

.checkbox {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: var(--space-l);
    height: var(--space-l);
    margin-left: var(--space-m);
    border: 2px solid #d5d3cb;
    border-radius: 50%;

    .checked & {
        background-color: #cfc487;
        border-color: #cfc487;
    }
}
